﻿namespace MiniFox.Mail
{
    /// <summary>
    /// 
    /// </summary>
    public interface IMailAccount
    {
        /// <summary>
        /// 
        /// </summary>
        string Name { get; }
        /// <summary>
        /// 
        /// </summary>
        string Account { get; }
        /// <summary>
        /// 
        /// </summary>
        string DisplayAccount { get; }
        /// <summary>
        /// 
        /// </summary>
        string DisplayName { get; }
        /// <summary>
        /// 
        /// </summary>
        bool EnableAsync { get; }
        /// <summary>
        /// 
        /// </summary>
        string Password { get; }
        /// <summary>
        /// 同步发送超时时间设置(单位：毫秒)
        /// </summary>
        int SendTimeout { get; }
        /// <summary>
        /// 
        /// </summary>
        string SmtpServer { get; }
        /// <summary>
        /// 
        /// </summary>
        int Port { get; }
        /// <summary>
        /// 
        /// </summary>
        string CCList { get; }
        /// <summary>
        /// 
        /// </summary>
        string BCCList { get; }
        /// <summary>
        /// 
        /// </summary>
        bool EnableSSL { get; }
    }
}